/*
 * Flowable REST API
 * # flowable / flowəb(ə)l /    - a compact and highly efficient workflow and Business Process Management (BPM) platform for developers, system admins and business users.  - a lightning fast, tried and tested BPMN 2 process engine written in Java. It is Apache 2.0 licensed open source, with a committed community.  - can run embedded in a Java application, or as a service on a server, a cluster, and in the cloud. It integrates perfectly with Spring. With a rich Java and REST API, it is the ideal engine for orchestrating human or system activities.
 *
 * OpenAPI spec version: v1
 *
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 */


package com.ibm.risk.irmp.workflow.client.flowable.model;

import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;

/**
 * ExecutionChangeActivityStateRequest
 */

public class ExecutionChangeActivityStateRequest {
  @JsonProperty("cancelActivityIds")
  private List<String> cancelActivityIds = null;

  @JsonProperty("startActivityIds")
  private List<String> startActivityIds = null;

  public ExecutionChangeActivityStateRequest cancelActivityIds(List<String> cancelActivityIds) {
    this.cancelActivityIds = cancelActivityIds;
    return this;
  }

  public ExecutionChangeActivityStateRequest addCancelActivityIdsItem(String cancelActivityIdsItem) {
    if (this.cancelActivityIds == null) {
      this.cancelActivityIds = new ArrayList<String>();
    }
    this.cancelActivityIds.add(cancelActivityIdsItem);
    return this;
  }

   /**
   * activityIds to be canceled
   * @return cancelActivityIds
  **/
  @ApiModelProperty(value = "activityIds to be canceled")
  public List<String> getCancelActivityIds() {
    return cancelActivityIds;
  }

  public void setCancelActivityIds(List<String> cancelActivityIds) {
    this.cancelActivityIds = cancelActivityIds;
  }

  public ExecutionChangeActivityStateRequest startActivityIds(List<String> startActivityIds) {
    this.startActivityIds = startActivityIds;
    return this;
  }

  public ExecutionChangeActivityStateRequest addStartActivityIdsItem(String startActivityIdsItem) {
    if (this.startActivityIds == null) {
      this.startActivityIds = new ArrayList<String>();
    }
    this.startActivityIds.add(startActivityIdsItem);
    return this;
  }

   /**
   * activityIds to be started
   * @return startActivityIds
  **/
  @ApiModelProperty(value = "activityIds to be started")
  public List<String> getStartActivityIds() {
    return startActivityIds;
  }

  public void setStartActivityIds(List<String> startActivityIds) {
    this.startActivityIds = startActivityIds;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ExecutionChangeActivityStateRequest executionChangeActivityStateRequest = (ExecutionChangeActivityStateRequest) o;
    return Objects.equals(this.cancelActivityIds, executionChangeActivityStateRequest.cancelActivityIds) &&
        Objects.equals(this.startActivityIds, executionChangeActivityStateRequest.startActivityIds);
  }

  @Override
  public int hashCode() {
    return Objects.hash(cancelActivityIds, startActivityIds);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ExecutionChangeActivityStateRequest {\n");

    sb.append("    cancelActivityIds: ").append(toIndentedString(cancelActivityIds)).append("\n");
    sb.append("    startActivityIds: ").append(toIndentedString(startActivityIds)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }

}
